home *** CD-ROM | disk | FTP | other *** search
- /* %filename% -- modeless dialog methods */
- /* Created %date% %time% by AppMaker */
-
- /* This module overrides the AppMaker-generated code in z%dlogname%.% %*/
- /* It provides a place for you to add your own code and still be able to */
- /* generate code for new changes to the user interface. This module will */
- /* not be regenerated by AppMaker unless you delete it. Its superclass, */
- /* z%dlogname%, may be regenerated to handle user interface changes% %*/
- /* without losing your hand-coded changes to this module. */
-
- #include <Commands.h>
- #include <Global.h>
- #include <TBUtilities.h>
- #include <CBartender.h>
- #include "ResourceDefs.h"
- %for each item gen include%
- #include "%dlogname%.h"
-
- extern CBartender *gBartender; /* The menu handling object */
-
- %for each item gen defineItem%
-
- /*----------*/
- C%dlogname% *MakeNew%dlogname% (CDirectorOwner *aSupervisor)
- {
- C%dlogname% *dialog;
-
- dialog = NULL;
- TRY {
- dialog = new C%dlogname%;
- dialog->I%dlogname% (aSupervisor);
- } CATCH {
- ForgetObject (dialog);
- } ENDTRY;
-
- return (dialog);
-
- } /* MakeNew%dlogname% */
-
- /*----------*/
- void C%dlogname%::I%dlogname% (CDirectorOwner *aSupervisor)
- {
- inherited::IZ%dlogname% (aSupervisor);
-
- // any additional initialization for your dialog
-
- } /* I%dlogname% */
-
- %for each item gen auxiliaryMethod%
- /*----------*/
- void C%dlogname%::UpdateMenus (void)
- {
- inherited::UpdateMenus ();
-
- } /* UpdateMenus */
-
- /*----------*/
- void C%dlogname%::DoCommand (long theCommand)
- {
- switch (theCommand) {
- %for each item gen DoCommand%
-
- default:
- inherited::DoCommand (theCommand);
- break;
- } /* switch */
-
- } /* DoCommand */
-
- /*----------*/
- void C%dlogname%::ProviderChanged% %(CCollaborator *aProvider,
- long reason,
- void* info)
-
- {
- %for each item gen ProviderChanged%
-
- } /* ProviderChanged */
-
- /* %filename% */
-